package com.wxw.gulidemo.client;/**
 * @author by xxz
 * @date 2022/6/20
 */

import com.wxw.gulidemo.vo.EduCourseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Description

 * @author by xxz

 * @date 2022/6/20

 * @throws
 */
@Component
@FeignClient(name = "service-edu")
public interface ServiceEduClient {

    @PostMapping("/eduService/edu-course/getCourseInfoByIdOrder/{courseId}")
    EduCourseVo getCourseInfoByIdOrder(@PathVariable("courseId") String courseId);
}
